// Model for HTTP model (factory)
// Copyright 2006 (C) Ralph Thomas

#ifndef MODEL_HTTP_FACTORY_H
#define MODEL_HTTP_FACTORY_H

#include <model/internal/factory.h>

namespace model {
	//
	/// The httpFactory class is a model factory which can turn an
	/// HTTP URL into an HTTP model. No normalization can be
	/// performed on HTTP URLs (so normalize is a no-op).
	//
	class httpFactory : public factory {
	  public:
		//
		// from model/internal/factory.h
		// 
		virtual model* fromString( std::string serialized ) const;
		virtual url* normalize( const url* theUrl ) const;
	};
};

#endif

